//
//  network_utils.h
//  mac_ping_network
//
//  Created by Constantine Mars on 5/14/13.
//  Copyright (c) 2013 Constantine Mars. All rights reserved.
//

#ifndef mac_ping_network_network_utils_h
#define mac_ping_network_network_utils_h

#include <string>

bool isDomainControllerReachable();
bool isDomainControllerReachable2(const char* domain = 0);

std::string popen2string(const char* pipe);
long long getPingTimeout(const char* server_addr, unsigned int *expires_at = 0);

#endif
